using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Threading;
using System.Globalization;
namespace SSG
{
  static class Program
  {
    [STAThread]
    static void Main()
    {
      //Settings.Test();
      //Security.Check();
      CultureInfo culture=CultureInfo.CurrentCulture.Clone() as CultureInfo;
      culture.DateTimeFormat.ShortDatePattern="yyyy-MM-dd";
      culture.DateTimeFormat.ShortTimePattern="HH:mm:ss.fff";
      Thread.CurrentThread.CurrentCulture=culture;
      Application.ThreadException+=delegate(object o,ThreadExceptionEventArgs e) { MessageBox.Show(e.Exception.Message,"Error"); };
      Application.EnableVisualStyles();
      //Application.SetCompatibleTextRenderingDefault(false);
      Application.Run(new SqlGenerator());
    }

  }
}